package cn.tedu.spring.exmaple;

import org.springframework.stereotype.Component;
/**
 * Component注解:
 *   1.将该类标识为Spring Framework的组件;
 *   2.未来框架会为该类创建对象;
 */
@Component
public class User {
    public void  run(){
        System.out.println("Hello Spring Framework~~");
    }
}
